//
//  RBMsgAtyCell.m
//  zhongzhenglu
//
//  Created by XL on 2022/7/14.
//

#import "RBMsgAtyCell.h"
#import "UIView+RBAdd.h"
#import "UIImageView+RBAdd.h"
#import "RBMsgSubResponse.h"

@interface RBMsgAtyCell()

@property(nonatomic, strong)IBOutlet UILabel *timeL;
@property(nonatomic, strong)IBOutlet UIImageView *imgView;
@property(nonatomic, strong)IBOutlet UILabel *titleL;

@end

@implementation RBMsgAtyCell

- (void)awakeFromNib
{
    [super awakeFromNib];
    [self zoomSubViewsWithSelf];
}

- (void)setCellModel:(RBCellModel *)cellModel
{
    RBMsgSubModel *model = cellModel.cellData;
    self.titleL.text = model.title;
    [self.imgView setImageWithUrl:model.picurl placeHolder:nil];
    self.timeL.text = model.create_time;
}

@end
